Documentation > CMS Template API Library > Asset > IsBinary

IsBinary

This is an uploaded binary asset, not a rendered page.

Type

System.Boolean

Code Example

C#

Sample:
	Asset myAsset = Asset.Load("/PathTo/Asset");	
	if(myAsset.IsLoaded)
	{
		if(myAsset.IsBinary)
		{
			Out.WriteLine("This is a binary asset. It does not have a template associated with it.");	
		}
	}

Connect with Crownpeak