BlogML.BlogMLResource.GetSchemaStream C# (CSharp) Method

GetSchemaStream() public static method

public static GetSchemaStream ( ) : Stream
return Stream
        public static Stream GetSchemaStream()
        {
            Stream stream = typeof(BlogMLResource).Assembly.GetManifestResourceStream("BlogML.BlogML.xsd");
            if (stream == null)
                throw new InvalidOperationException("Schema not found");
            return stream;
        }